<?php

	$doc = new DOMDocument();
	$doc->load('http://twitter.com/statuses/user_timeline/OperacoesRio.xml');
	
	$i=1;
	
	$statuses = $doc->getElementsByTagName( "statuses" );
	foreach( $statuses as $status ) {
		$texts = $status->getElementsByTagName("text");
		
		for ($i= 0 ; $i < $texts->length ; $i++ ) {
			$text = $texts->item($i)->nodeValue;
			
			echo utf8_decode($text);
			echo "<br/>";
		} 
	
//		$text = $texts->item(1)->nodeValue;
//		echo $text;
	}
?>